package com.zgys.project_mgr.project.service.serviceImpl;

import com.zgys.project_mgr.project.dao.Project2serverDao;
import com.zgys.project_mgr.project.model.po.Project2serverPo;
import com.zgys.project_mgr.project.service.Project2serverService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;




@Service
public class Project2serverServiceImpl implements Project2serverService {
	@Autowired
	private Project2serverDao project2serverDao;
	
	@Override
	public Project2serverPo get(Integer id){
		return project2serverDao.get(id);
	}
	
	@Override
	public List<Project2serverPo> list(Map<String, Object> map){
		return project2serverDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return project2serverDao.count(map);
	}
	
	@Override
	public int save(Project2serverPo project2server){
		return project2serverDao.save(project2server);
	}
	
	@Override
	public int update(Project2serverPo project2server){
		return project2serverDao.update(project2server);
	}
	
	@Override
	public int remove(Integer id){
		return project2serverDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return project2serverDao.batchRemove(ids);
	}
	
}
